<?php
class events extends db_table {
	/**
	 * Event ID
	 *
	 * @var db_field
	 */
	public $event_id;
	/**
	 * User ID
	 *
	 * @var db_field
	 */
	public $user_id;
	/**
	 * Event title
	 *
	 * @var db_field
	 */
	public $event_title;
	/**
	 * Event date
	 *
	 * @var db_field
	 */
	public $event_date;
	/**
	 * Event added date
	 *
	 * @var db_field
	 */
	public $event_add_date;
	/**
	 * Event comments
	 *
	 * @var db_field
	 */
	public $event_comments;
	/**
	 * Event status
	 *
	 * @var db_field
	 */
	public $event_status;

	/**
	 * Constructor
	 *
	 * @param mixed $id
	 */
	public function __construct($id = null) {
		parent::__construct($id);
	}
	
	/**
	 * Gets active status
	 *
	 * @return string
	 */
	public static function status_active() {
		return "active";
	}
	
	/**
	 * Gets suspended status
	 *
	 * @return string
	 */
	public static function status_suspended() {
		return "suspended";
	}
}
?>